C program to find first repeating character in an string